package com.mg.service;

import com.github.pagehelper.PageInfo;
import com.mg.dto.DataCodeDto;
import com.mg.dto.SimpleResult;
import com.mg.model.DataCode;

import javax.xml.crypto.Data;
import java.util.List;

/**
 * Created by mg1213 on 2018/3/18.
 */
public interface DataCodeService {
    PageInfo<DataCodeDto> selectPageInfo(DataCodeDto dto, int start, int limit);
    List<DataCode> select(DataCode dataCode);
    SimpleResult insertDataCode(DataCode record);
    SimpleResult updateDataCode(DataCode record);

    SimpleResult deleteDataCode(String ids);
}
